#ifndef __TOUCHES_MANAGE__H_
#define __TOUCHES_MANAGE__H_
#include "cocos2d.h"
using namespace cocos2d;

#define UP		0x1123
#define DOWN	0x1124
#define LEFT	0x1125
#define RIGHT	0x1126
#define CIRCLE	0x1127
class TouchesManage
{
	CCPoint pre,now;
	int dir;
	bool isCircle;
	bool circle[4];
public:
	virtual void ccTouchesBegan(CCSet *pTouches, CCEvent *pEvent);
	virtual void ccTouchesMoved(CCSet *pTouches, CCEvent *pEvent);
	virtual int ccTouchesEnded(CCSet *pTouches, CCEvent *pEvent);
	CCPoint getPre()
	{
		return pre;
	}

	CCPoint getNow()
	{
		return now;
	}
protected:
private:
};


#endif

